package com.xiaodeng.xdblogspringboot.pojo;

import lombok.Data;

@Data
public class Likes {

    // 点赞ID
    private long id;
    // 点赞用户ID
    private long userId;
    // 被点赞文章ID
    private long articleId;
    // 点赞类型(1:文章点赞,2:评论点赞,3:其他)
    private short likeType;
    // 点赞目标ID(文章ID或评论ID等)
    private long targetId;
    // 点赞时间
    private java.sql.Timestamp createTime;
    // 状态(1:有效,0:取消)
    private short status;
}
